package com.xuhai.blog.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xuhai.blog.admin.entity.CommentEntity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author 机蜂
 * @since 2022-02-08
 */
public interface CommentService extends IService<CommentEntity> {
    void deleteByArticleId(Integer articleId);
    IPage<CommentEntity> getPage(int page,int limit,CommentEntity comment);
}
